package com.jeejam.cart.dao;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

import com.jeejam.cart.pojo.CartItem;
import com.jeejam.framework.base.dao.BaseMapper;

public interface CartItemMapper extends BaseMapper{
	
	public List<CartItem> selectForConfirmByCartId(int cartId);
	
	public CartItem selectByProductIdAndCartId(Map<String, Object> params);
	
	public void deleteByCartId(Serializable cartId);
	
	public void deleteByProductIdAndCartId(Map<String, Object> params);
	
	public void updateCount(Map<String, Object> params);
	
	public void updateCountAndState(Map<String, Object> params);
	
	public void updateState(Map<String, Object> params);
}